package com.tsunami.authority.dto.admin;

import com.tsunami.base.entity.Entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @author lx
 * @date 2023/8/11 15:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@Schema(description = "应用版本")
public class VersionUpdateDTO extends Entity<Long> {

    @Schema(description = "版本名称")
    private String name;

    @Schema(description = "应用编码")
    private String code;

    @Schema(description = "最新版本号")
    private String version;

    @Schema(description = "应用类型")
    private String type;

    @Schema(description = "下载地址")
    private String url;
    @Schema(description = "激活状态")
    private Boolean active;
}
